package com.ruoyi.hqfinance.service.impl;

import com.ruoyi.hqfinance.domain.UCodeMerchant;
import com.ruoyi.hqfinance.mapper.UCodeMerchantMapper;
import com.ruoyi.hqfinance.service.UCodeMerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UCodeMerchantServiceImpl implements UCodeMerchantService {
    @Autowired
    private UCodeMerchantMapper uCodeMerchantMapper;
    @Override
    public List<UCodeMerchant> selectAll() {
        return uCodeMerchantMapper.selectAll();
    }

    @Override
    public Boolean insert(UCodeMerchant uCodeMerchant) {
        return uCodeMerchantMapper.insert(uCodeMerchant);
    }

    @Override
    public Boolean update(UCodeMerchant uCodeMerchant) {
        return uCodeMerchantMapper.update(uCodeMerchant);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return uCodeMerchantMapper.deleteById(id);
    }
}
